package com.zzxy.spring5.service.impl;

import com.zzxy.spring5.dao.IMemberDao;
import com.zzxy.spring5.service.IMemberService;

public class MemberServiceImpl implements IMemberService {
    private IMemberDao memberDao;

    public IMemberDao getMemberDao() {
        return memberDao;
    }

    public void setMemberDao(IMemberDao memberDao) {
        this.memberDao = memberDao;
    }

    @Override
    public void addMember() {
//        System.out.println("ass member success...");
        memberDao.addMember();
    }
}
